package code.remote {

import flash.events.Event;

import mx.rpc.events.ResultEvent;

public class ResultErrorReceivedEvent extends Event {
	
	public static const RESULT_ERROR_RECEIVED: String = "resultErrorReceived";
	
	public var originalResultEvent: ResultEvent;
	public var errorContainer: ResultErrorContainer;
	
	public function ResultErrorReceivedEvent(event: ResultEvent, errorContainer: ResultErrorContainer, bubbles:Boolean=false, cancelable:Boolean=false) {
		super(RESULT_ERROR_RECEIVED, bubbles, cancelable);
		
		this.originalResultEvent = event;
		this.errorContainer = errorContainer;
	}
	
}
}